/*
 * @Description: 动态匹配路由
 * @version: 1.0
 * @Author: ziwei
 * @Date: 2021-08-14 18:08:23
 * @LastEditors: ziwei
 * @LastEditTime: 2021-08-14 18:13:47
 */
import reatc,{Component} from 'react'

export default class Detail extends Component{
    render(){
        console.log(this.props);
        return(
            <div>
                {this.props.match.params.id}
            </div>
        )
    }
}